{include file="default/header.tpl"}
			<h1>Submit an Alteration</h1>
			<p>You are submitting an alteration for <b><a href="{$config.baseurl}{$snippit.sid}" target="_blank">{$snippit.script}</a></b>{if isset( $snippit.name )} by <b>{$snippit.name}</b>{/if}. This will appear under the alterations list of the original piece of code.</p>
			
			<div class="pastearea">
				<form action="{$config.baseurl}paste_alter" method="post">
					<input type="hidden" name="alterid" value="{$snippit.sid}" />
					<table class="theform">
						<tr class="formrow">
							<td class="tdfield">Name:</td>
							<td class="tdval"><input size="50" type="text" name="name" /></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Script Name:</td>
							<td class="tdval"><input size="50" type="text" name="scriptn" value="Alteration of {if $snippit.script != ""}{$snippit.script}{else}untitled script{/if}" /></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Code:</td>
							<td class="tdval"><textarea name="code" rows="10" cols="75">{$snippit.code}</textarea></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Notes:<br /><span style="color: red; font-size: 8pt;">Use this to add additional notes or errors.</span></td>
							<td class="tdval"><textarea name="notes" rows="3" cols="75"></textarea></td>
						</tr>
						<tr class="formrow">
							<td class="tdfield">Keep For:</td>
							<td class="tdval">
								<select name="days">
									<option value="0">Forever</option>
									<option value="1">1 Day</option>
									<option selected="selected" value="7">7 Days</option>
									<option value="30">30 Days</option>
								</select>
							</td>
						</tr>
						<tr class="formrow">
							<td>&nbsp;</td>
							<td class="tdval" style="padding-top: 10px"><input type="submit" value="Paste Code" /></td>
						</tr>
					</table>
				</form>
			</div>
{include file="default/footer.tpl"}